﻿using System.Collections.Generic;
using System.Collections.ObjectModel;
using BookTheBook.Data.Model;

namespace BookTheBook.Data
{
    public interface ILibraryRepository
    {
        ReadOnlyCollection<Book> GetAllBooks();
        Book GetBookById(int id);
        
        void AddBookToLibrary(Book book);
        void AddBooksToLibrary(IEnumerable<Book> books);
        
        void AddUserToLibrary(User user);
        void AddUserssToLibrary(IEnumerable<User> users);
    }
}


